package com.wechat.api.web.model;

import java.util.Date;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.spring.security.core.validators.Insert;
@JsonIgnoreProperties(value={"changedtime","operatorid","operatorname","entityavailablestate","token","childrenStoryids"},allowSetters=true)
public class StoryAlbumDetail {
    private String id;
	@NotNull(message = "storyAlbumid不可为空",groups = {Insert.class})
    private String storyAlbumid;

    private String childrenStoryid;
	
	@NotNull(message = "childrenStoryids不可为空",groups = {Insert.class})
    private String childrenStoryids;

    public String getChildrenStoryids() {
		return childrenStoryids;
	}

	public void setChildrenStoryids(String childrenStoryids) {
		this.childrenStoryids = childrenStoryids;
	}

	private Date createdtime;

    private Date changedtime;

    private String initialoperatorid;

    private String initialoperatorname;

    private String operatorid;

    private String operatorname;

	public Integer getStorySort() {
		return storySort;
	}

	public void setStorySort(Integer storySort) {
		this.storySort = storySort;
	}

	private Integer storySort;

    private Integer entityavailablestate;
	@NotNull(message = "token不可为空",groups = {Insert.class})
	private String token;
	
    public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getStoryAlbumid() {
        return storyAlbumid;
    }

    public void setStoryAlbumid(String storyAlbumid) {
        this.storyAlbumid = storyAlbumid == null ? null : storyAlbumid.trim();
    }

    public String getChildrenStoryid() {
        return childrenStoryid;
    }

    public void setChildrenStoryid(String childrenStoryid) {
        this.childrenStoryid = childrenStoryid == null ? null : childrenStoryid.trim();
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }
}